<?php

namespace app\controller;

use support\Request;
use support\Response;

class IndexController
{
    /**
     * @param Request $request
     * @return Response
     */
    public function index(Request $request): Response
    {
        $ip = $request->header('CF-Connecting-IP');
        return view('index/index', ['ip' => $ip]);
    }

}
